//
//  ClearCell.m
//  VICKY ZONE
//
//  Created by sunx on 15/3/24.
//  Copyright (c) 2015年 sunx. All rights reserved.
//

#import "ClearCell.h"

@implementation ClearCell
-(instancetype)initWithHeight:(float)persent {
    self = [super init];
    CGRect rect = [ UIScreen mainScreen ].applicationFrame;
    float height = rect.size.height;
    
    UIView *view = [[UIView alloc] init];
    view.backgroundColor = [UIColor clearColor];
    view.frame = CGRectMake(0, 0, rect.size.width, height*persent);
    [self addSubview:view];
    
    self.height = height * persent;
    self.backgroundColor = [UIColor clearColor];
    self.userInteractionEnabled = NO;
    return self;
}
@end
